package cn.y.operation.application.web.controller;

import cn.y.operation.framework.mvc.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: SystemController
 * @author: 叶子豪
 * @create: 2021-03-25 15:21
 */
@Controller
@RequestMapping("/")
public class HomeController extends BaseController {
    @GetMapping("/home")
    public String home() {
        return "index";
    }

    @GetMapping("/homepage/welcome-1")
    public String welcome1() {
        return "homepage/welcome/welcome-1";
    }

    @GetMapping("/homepage/welcome-2")
    public String welcome2() {
        return "homepage/welcome/welcome-2";
    }

    @GetMapping("/homepage/welcome-3")
    public String welcome3() {
        return "homepage/welcome/welcome-3";
    }

    @GetMapping("/homepage/table")
    public String table() {
        return "homepage/table";
    }

    @GetMapping("/homepage/form")
    public String form() {
        return "homepage/form";
    }

    @GetMapping("/homepage/form-step")
    public String formstep() {
        return "homepage/form-step";
    }

    @GetMapping("/unauth")
    public String unauth() {
        return "error/unauth";
    }
}
